#ifndef POINTSWITCHUDPSTRUCT_H
#define POINTSWITCHUDPSTRUCT_H

#include <QObject>
class PointSwitchUdpStruct
{
 public:
    PointSwitchUdpStruct();

    QString Name() const;
    void SetName(const QString &Name);

    QString IP()const;
    void SetIP(const QString &ip);

    quint16 Addr()const;
    void SetAddr(const quint16 &PointAddr);
 private:
    QString m_name;
    QString m_ip;
    quint16 m_addr;
};

class StructList
{
 public :
    QList<PointSwitchUdpStruct> GetSwitchUudpList() const;
    void SetSwitchUdpList(const QList<PointSwitchUdpStruct> &PointSwitchUdplist);

 private:
    QList<PointSwitchUdpStruct> m_SwitchUudpList;
};
#endif // OTHEREQUIPMENTSTRUCT_H
